package com.geekaca.test;

public class LearnDataType {
    public static void main(String[] args) {
        int age = 23;
        System.out.println(age);
        age = 24;
        System.out.println(age);

        double money = 45.6;

        System.out.println("money: " + money);
        float height = 175.6f;

        // 真假 见名知义
        boolean isFinished = true;
        System.out.println("是否完成了: " + isFinished);

        char ch = '华';
        System.out.println("ch:  " + ch);

        //字符串变量
        String str="你好,Java";
        System.out.println(str);
        str="再见同学";
        System.out.println(str);

    }
}
